1 NOT ( Faster Implementation = = > Better Algorithm ) , A Case Study
نویسندگان
چکیده
Given two algorithms that perform the same task, one may ask which is better. One simple answer is that the algorithm that delivers the “best” answer is the better algorithm. But what if both algorithms deliver results of similar quality? In this case, a common metric that is utilized to differentiate between the two algorithms is the time to find a solution. Measurements, however, must be performed using an implementation of an algorithm (not an abstract algorithm) and must be taken using specific test data. Because the effects of implementation quality and test data selection may be large, the measured time metric is an insufficient measure of algorithm performance and quality. In this paper we present the specific case of several different implementations of the same Dijkstra graph search algorithm applied to graphs with various branching factors. Our experimental results show that quality rankings based on time may be heavily influenced by the choice of operational scenario and code quality. In addition, we explore possible alternative ranking schemes for the specific case of Dijkstra graph search algorithms.
منابع مشابه
Barriers to Knowledge Management Implementation at Fasa Health Center: A Qualitative Content Analysis Study
Background & Objective: Knowledge growth has been very rapid in recent years. Health centers can implement knowledge management in their organization to improve service quality, reduce costs and time, strengthen relationships among colleagues, and produce knowledge faster by reviewing barriers to knowledge management implementation at fasa health center. Material & Methodes: In this qualitativ...
متن کاملNOT ( Faster Implementation = = > Better Algorithm ) , A Case Study
Given two algorithms that perform the same task, one may ask which is better. One simple answer is that the algorithm that delivers the “best” answer is the better algorithm. But what if both algorithms deliver results of similar quality? In this case, a common metric that is utilized to differentiate between the two algorithms is the time to find a solution. Measurements, however, must be perf...
متن کاملSOLVING BLASIUS EQUATION USING IMPERIALIST COMPETITIVE ALGORITHM
In this study, a new approach isintroduced to solve Blasius differential equation using of ImperialistCompetitive Algorithm (ICA). This algorithm is inspired by competitionmechanism among Imperialists and colonies and has demonstrated excellent capabilitiessuch as simplicity, accuracy, faster convergence and better global optimumachievement in contrast to other evolutionary algorithms. The obta...
متن کاملA mathematical model for designing optimal urban gas networks, an ant colony algorithm and a case study
Considering the high costs of the implementation and maintenance of gas distribution networks in urban areas, optimal design of such networks is vital. Today, urban gas networks are implemented within a tree structure. These networks receive gas from City Gate Stations (CGS) and deliver it to the consumers. This study presents a comprehensive model based on Mixed Integer Nonlinear Programming (...
متن کاملImplementation of VlSI Based Image Compression Approach on Reconfigurable Computing System - A Survey
Image data require huge amounts of disk space and large bandwidths for transmission. Hence, imagecompression is necessary to reduce the amount of data required to represent a digital image. Thereforean efficient technique for image compression is highly pushed to demand. Although, lots of compressiontechniques are available, but the technique which is faster, memory efficient and simple, surely...
متن کامل